import React, { Component } from 'react';

// import { connect } from 'react-redux'
import connect from './connect'
// import { setfooterMenu } from '@/store/action/cookbookAction'


@connect
class index extends Component {
    componentDidMount() {
        this.props.setfooterMenu("none")
    }

    componentWillUnmount() {
        this.props.setfooterMenu("none")
    }
    render() {
        return (
            <div>
                详情页面
                <hr />
                <div onClick={() => {
                    this.props.history.push('/')
                }}>回首页</div>
            </div>
        );
    }
}

export default index;
